(function (global, factory) {
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('rbush')) :
  typeof define === 'function' && define.amd ? define(['rbush'], factory) :
  (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.RBush));
}(this, (function (RBush) { 'use strict';

  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }

  var RBush__default = /*#__PURE__*/_interopDefaultLegacy(RBush);

  function _classCallCheck(instance, Constructor) {
    if (!(instance instanceof Constructor)) {
      throw new TypeError("Cannot call a class as a function");
    }
  }

  function _defineProperties(target, props) {
    for (var i = 0; i < props.length; i++) {
      var descriptor = props[i];
      descriptor.enumerable = descriptor.enumerable || false;
      descriptor.configurable = true;
      if ("value" in descriptor) descriptor.writable = true;
      Object.defineProperty(target, descriptor.key, descriptor);
    }
  }

  function _createClass(Constructor, protoProps, staticProps) {
    if (protoProps) _defineProperties(Constructor.prototype, protoProps);
    if (staticProps) _defineProperties(Constructor, staticProps);
    return Constructor;
  }

  var Person = /*#__PURE__*/function () {
    function Person() {
      _classCallCheck(this, Person);

      this.name = '';
      this.age = '';
      this.sex = '';
    }

    _createClass(Person, [{
      key: "setAddress",
      value: function setAddress(dress) {
        this.dress = dress;
      }
    }]);

    return Person;
  }();

  var person = new Person();
  setTimeout(function () {
    person.setAddress('road 108');
  }, 2000);
  console.log(person);
  new RBush__default['default']();

})));
